
auto_maintain_internal_work_items = {
	"title": "Create Manual Lead",
	"sql_table": "banking_details",
	"ajax_url": "./work_items.php",
	"server_call_list": null,
	"server_call_create": "work_items_create_manual",
	"server_call_update": null,
	"server_call_remove": null,
	"server_call_import": null,
	"alignment": "vertical",
	"fields": [
		{
			"name": "contact_number",
			"alias": "contact_number",
			"title": "Contact Number",
			"comment": "",
			"nullable": false,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "text",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": false
		},
		{
			"name": "contact_name",
			"alias": "contact_name",
			"title": "Contact Person",
			"comment": "",
			"nullable": false,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "VARCHAR(50)",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": false
		},
		{
			"name": "salutation",
			"alias": "salutation",
			"title": "Title",
			"comment": "",
			"nullable": true,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "lookup",
			"default_value": "NULL",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": false,
			"foreign_key": {
				"sql_table": "salutations",
				"key": "id",
				"value": "name"
			}
		},
		{
			"name": "work_list",
			"alias": "work_list",
			"title": "Work List",
			"comment": "",
			"nullable": true,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "lookup",
			"default_value": "NULL",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": false,
			"foreign_key": {
				"sql_table": "work_list",
				"key": "id",
				"value": "name"
			}
		}
	]
}

auto_maintain_member_get_member_work_item = {
	"title": "Member Get Member Work Item",
	"sql_table": "work_items",
	"ajax_url": "./work_items.php",
	"server_call_list": null,
	"server_call_create": "work_items_create_linked_item",
	"server_call_update": null,
	"server_call_remove": null,
	"server_call_import": null,
	"alignment": "vertical",
	"fields": [
		{
			"name": "contact_number",
			"alias": "contact_number",
			"title": "Contact Number",
			"comment": "",
			"nullable": false,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "text",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": false
		},
		{
			"name": "contact_name",
			"alias": "contact_name",
			"title": "Contact Person",
			"comment": "",
			"nullable": false,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "VARCHAR(50)",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": false
		},
		{
			"name": "salutation",
			"alias": "salutation",
			"title": "Title",
			"comment": "",
			"nullable": true,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "lookup",
			"default_value": "NULL",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": false,
			"foreign_key": {
				"sql_table": "salutations",
				"key": "id",
				"value": "name"
			}
		},
		{
			"name": "work_list",
			"alias": "work_list",
			"title": "Work List",
			"comment": "",
			"nullable": true,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "lookup",
			"default_value": "NULL",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": false,
			"foreign_key": {
				"sql_table": "work_list",
				"key": "id",
				"value": "name"
			}
		}
	]
}


auto_maintain_escalate_work_item = {
	"title": "Send To Manager",
	"sql_table": "work_items",
	"ajax_url": "./work_items.php",
	"server_call_list": null,
	"server_call_create": "work_items_escalate",
	"server_call_update": null,
	"server_call_remove": null,
	"server_call_import": null,
	"alignment": "vertical",
	"fields": [
		{
			"name": "id",
			"alias": "work_item",
			"title": "Work Item",
			"comment": "",
			"nullable": false,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "text",
			"default_value":"45",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": true
		},
		{
			"name": "reason_code",
			"alias": "reason_code",
			"title": "Reason",
			"comment": "",
			"nullable": true,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "lookup",
			"default_value": "",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": false,
			"foreign_key": {
				"sql_table": "reason_codes",
				"key": "id",
				"value": "name"
			}
		},
		{
			"name": "notes",
			"alias": "notes",
			"title": "Notes",
			"comment": "",
			"nullable": true,
			"auto_increment": false,
			"primary_key": false,
			"data_type": "notes",
			"default_value": "",
			"show_on_import": true,
			"show_on_grid": true,
			"show_on_editor": true,
			"readonly": false
		}
	]
}
